package com.ibeeking.found.cms.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName PageModuleDo
 * @Description
 * @Author ibeeking
 * @Date 2021-05-08 16:03
 **/
@Data
@TableName("cms_page_module_draft")
@Accessors(chain = true)
public class PageModuleDraftDO implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId(
			type = IdType.ASSIGN_ID
	)
	private Long id;

	/**
	 * 页面id
	 */
	@TableField(value="page_id")
	private Long pageId;

	/**
	 * 行业类型:mall=电商平台；mdi=制造业
	 */
	@TableField(value = "industry")
	private String industry;
	/**
	 * 页面组件类型
	 */
	@TableField(value="type")
	private String type;

	/**
	 * 页面组件内容
	 */
	@TableField(value="data_field")
	private String dataField;

	/**
	 * 排序
	 */
	@TableField(value="sort")
	private Integer sort;
	/**
	 * 1-发布，0-未发布
	 */
	@TableField(value = "publish_status")
	private Integer publishStatus;

	@TableField("create_time")
	private LocalDateTime createTime;
	@TableField("create_by")
	private Long createBy;
	@TableField("modify_time")
	private LocalDateTime modifyTime;
	@TableField("modify_by")
	private Long modifyBy;

}
